<?php 
//引入文件
include 'test1.php';

include 'test2.php';

//调用
test1\a();
echo "<br>";
test2\a();
 ?>